package com.lxn.system.mapper;

import com.lxn.system.domain.Meal;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hwerth
 * @since 2020-02-20
 */
public interface MealMapper extends BaseMapper<Meal> {
    //保存套餐和机构的关系(中间表)
    void insertRelationMealAndTenant(@Param("mealId") Long mealId, @Param("tenantId") Long tenantId, @Param("state") int state);
}
